<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>let</title>
</head>
<body>
    <script>
        /* let特点
         *    - 变量不能重复声明 
         *    - 是块级作用域
         *    - 不存在变量提升
         *
         */


        // 声明变量
        let a;
        let b,c,d;
        let e = 100;
        let f = 521, g = 'iloveyou', h = [];

        // 变量不能重复声明
        // let star = '刘德华';
        // let star = '华神';

    </script>
</body>
</html>